package com.xindaoapp.happypet.bean;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * 
 * 楼主帖子内容
 * 
 * @author chenghao
 * 
 */
public class PostLandlordInfo implements Serializable {
    public String tid;
    public String fid;
    public String posttableid;
    public String authorid;
    public String author;
    public String subject;
    public String lastpost;
    public String views;
    public int replies;
    public String digest;
    public String attachment;
    public int recommend_add;
    public String dateline;
    public String forumname;
    public String addtime;
    public String userface;
    public String statustitle;
    public String address;
    public String useip;
    public String pid;
    public int sharetimes;
    public ArrayList<PostLandlordMessageInfo> message;
    public int shaituid;
    public String shaitutag;
    public String ratesum;// 打赏得到的尾巴数
    /**
     * 是否点过赞
     */
    public int myrecommend;
    /**
     * 是否收藏过
     */
    public int myfavorite;
    /**
     * 1为管理员，2为版主，3为版主
     */
    public int member_groupid;
    /**
     * 分享图片
     */
    public String coverpath;
    public int position;
    public ActivityInfo activityinfo;

    /**
     * 1分享过帖子，0没分享过帖子
     */
    public int myshare;

    public class ActivityInfo implements Serializable {
        @Override
        public String toString() {
            return "ActivityInfo [actclass=" + actclass + ", applynumber=" + applynumber
                    + ", coverheight=" + coverheight + ", coverpath=" + coverpath + ", coverwidth="
                    + coverwidth + ", expiration=" + expiration + ", place=" + place
                    + ", starttimefrom=" + starttimefrom + ", starttimeto=" + starttimeto
                    + ", ufield=" + ufield + "]";
        }

        public String actclass;// 帖子类型说明
        public String applynumber;
        public String coverheight;
        public String coverpath;// 活动贴图片路径
        public String coverwidth;// 图片宽度
        public String expiration;
        public String place;
        public String starttimefrom;
        public String starttimeto;
        public UField ufield;
        public String views;
        public String isapply;// 是否申请过使用，0未申请过 ，1 已申请过
        /**
         * acttype = shiyong 是免费试用，huati 是话题活动，空字串为其他活动
         */
        public String acttype;

        public class UField implements Serializable {
            public String[] userfield;
        }
    }

    public int getMyrecommend() {
        return myrecommend;
    }

    public void setMyrecommend(int myrecommend) {
        this.myrecommend = myrecommend;
    }

    public int getMyfavorite() {
        return myfavorite;
    }

    public void setMyfavorite(int myfavorite) {
        this.myfavorite = myfavorite;
    }

    public String getCoverpath() {
        return coverpath;
    }

    public void setCoverpath(String coverpath) {
        this.coverpath = coverpath;
    }

    public int getPosition() {
        return position;
    }

    public void setPosition(int position) {
        this.position = position;
    }

    public String getTid() {
        return tid;
    }

    public void setTid(String tid) {
        this.tid = tid;
    }

    public String getFid() {
        return fid;
    }

    public void setFid(String fid) {
        this.fid = fid;
    }

    public String getPosttableid() {
        return posttableid;
    }

    public void setPosttableid(String posttableid) {
        this.posttableid = posttableid;
    }

    public String getAuthorid() {
        return authorid;
    }

    public void setAuthorid(String authorid) {
        this.authorid = authorid;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public String getSubject() {
        return subject;
    }

    public void setSubject(String subject) {
        this.subject = subject;
    }

    public String getLastpost() {
        return lastpost;
    }

    public void setLastpost(String lastpost) {
        this.lastpost = lastpost;
    }

    public String getViews() {
        return views;
    }

    public void setViews(String views) {
        this.views = views;
    }

    public int getReplies() {
        return replies;
    }

    public void setReplies(int replies) {
        this.replies = replies;
    }

    public String getDigest() {
        return digest;
    }

    public void setDigest(String digest) {
        this.digest = digest;
    }

    public String getAttachment() {
        return attachment;
    }

    public void setAttachment(String attachment) {
        this.attachment = attachment;
    }

    public String getDateline() {
        return dateline;
    }

    public void setDateline(String dateline) {
        this.dateline = dateline;
    }

    public String getForumname() {
        return forumname;
    }

    public void setForumname(String forumname) {
        this.forumname = forumname;
    }

    public String getAddtime() {
        return addtime;
    }

    public void setAddtime(String addtime) {
        this.addtime = addtime;
    }

    public String getUserface() {
        return userface;
    }

    public void setUserface(String userface) {
        this.userface = userface;
    }

    public String getStatustitle() {
        return statustitle;
    }

    public void setStatustitle(String statustitle) {
        this.statustitle = statustitle;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getUseip() {
        return useip;
    }

    public void setUseip(String useip) {
        this.useip = useip;
    }

    public String getPid() {
        return pid;
    }

    public void setPid(String pid) {
        this.pid = pid;
    }

    public List<PostLandlordMessageInfo> getMessage() {
        return message;
    }

    public void setMessage(ArrayList<PostLandlordMessageInfo> message) {
        this.message = message;
    }

    @Override
    public String toString() {
        return "PostLandlordInfo [tid=" + tid + ", fid=" + fid + ", posttableid=" + posttableid
                + ", authorid=" + authorid + ", author=" + author + ", subject=" + subject
                + ", lastpost=" + lastpost + ", views=" + views + ", replies=" + replies
                + ", digest=" + digest + ", attachment=" + attachment + ", recommend_add="
                + recommend_add + ", dateline=" + dateline + ", forumname=" + forumname
                + ", addtime=" + addtime + ", userface=" + userface + ", statustitle="
                + statustitle + ", address=" + address + ", useip=" + useip + ", pid=" + pid
                + ", message=" + message + ", myrecommend=" + myrecommend + ", myfavorite="
                + myfavorite + ", coverpath=" + coverpath + ", position=" + position + ", ]";
    }

}
